package com.whmskj.xjlhbc.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@Schema(name = "经轴库统计分析响应参数",description = "经轴库统计分析响应参数")
public class JzkDto {

    @Schema(description = "存轴数")
    private long cz;

    @Schema(description = "空轴数")
    private long kz;

    @Schema(description = "总轴长")
    private long zc;

    @Schema(description = "布号数")
    private long bh;

    @Schema(description = "01号库存轴数")
    private long cz01;

    @Schema(description = "01号库空轴数")
    private long kz01;

    @Schema(description = "02号库存轴数")
    private long cz02;

    @Schema(description = "02号库空轴数")
    private long kz02;

    @Schema(description = "今日入库")
    private long rk;

    @Schema(description = "库存超30天")
    private long kc;

    @Schema(description = "存轴平均天数")
    private long pj;

    @Schema(description = "布号")
    private List<Bh> bhList = new ArrayList<>();
    @Schema(description = "轴长")
    private List<Bh> zcList = new ArrayList<>();


    @Data
    public static class Bh{
        @Schema(description = "布号")
        private String bh;

        @Schema(description = "1号库")
        private long k1;

        @Schema(description = "2号库")
        private long k2;
        @Schema(description = "地面库")
        private long k3;

        @Schema(description = "地面库")
        private long k4;

        @Schema(description = "总计")
        private long zj;

    }

}
